[INFO] cloning repository https://github.com/ur-fault/mlua_async_io_demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ur-fault/mlua_async_io_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fur-fault%2Fmlua_async_io_demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fur-fault%2Fmlua_async_io_demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 591d25407a8c086b09debe70d89c408c332d00f6
[INFO] fixing ur-fault/mlua_async_io_demo against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fur-fault%2Fmlua_async_io_demo" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ur-fault/mlua_async_io_demo
[INFO] finished tweaking git repo https://github.com/ur-fault/mlua_async_io_demo
[INFO] tweaked toml for git repo https://github.com/ur-fault/mlua_async_io_demo written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ur-fault/mlua_async_io_demo on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ur-fault/mlua_async_io_demo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mlua-sys v0.10.0
[INFO] [stderr]   Downloaded threadpool v1.8.1
[INFO] [stderr]   Downloaded num_cpus v1.17.0
[INFO] [stderr]   Downloaded which v8.0.2
[INFO] [stderr]   Downloaded mlua v0.11.6
[INFO] [stderr]   Downloaded bstr v1.12.1
[INFO] [stderr]   Downloaded lua-src v550.0.0
[INFO] [stderr]   Downloaded luajit-src v210.6.6+707c12b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e246f34c11a82a9d387daf84bd87467da3424cc06f15cd95116b49d867048898
[INFO] running `Command { std: "docker" "start" "e246f34c11a82a9d387daf84bd87467da3424cc06f15cd95116b49d867048898", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e246f34c11a82a9d387daf84bd87467da3424cc06f15cd95116b49d867048898" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e246f34c11a82a9d387daf84bd87467da3424cc06f15cd95116b49d867048898", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e246f34c11a82a9d387daf84bd87467da3424cc06f15cd95116b49d867048898" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]    Compiling cc v1.2.60
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]     Checking bstr v1.12.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking rustc-hash v2.1.2
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling lua-src v550.0.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling which v8.0.2
[INFO] [stderr]    Compiling luajit-src v210.6.6+707c12b
[INFO] [stderr]    Compiling mlua-sys v0.10.0
[INFO] [stderr]     Checking mlua v0.11.6
[INFO] [stderr]     Checking mlua_async_io_demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: `*mut lua_State` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_thread_spawn.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |       let handle = thread::spawn(move || {
[INFO] [stdout]     |                    ------------- ^------
[INFO] [stdout]     |                    |             |
[INFO] [stdout]     |  __________________|_____________within this `{closure@src/bin/coroutine_thread_spawn.rs:112:32: 112:39}`
[INFO] [stdout]     | |                  |
[INFO] [stdout]     | |                  required by a bound introduced by this call
[INFO] [stdout] 113 | |         let result = f();
[INFO] [stdout] 114 | |         ev.to_wake.send(current_thread).unwrap();
[INFO] [stdout] 115 | |         result
[INFO] [stdout] 116 | |     });
[INFO] [stdout]     | |_____^ `*mut lua_State` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_thread_spawn.rs:112:32: 112:39}`, the trait `Send` is not implemented for `*mut lua_State`
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_thread_spawn.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let handle = thread::spawn(move || {
[INFO] [stdout]     |                                ^^^^^^^
[INFO] [stdout] note: required by a bound in `spawn`
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/thread/functions.rs:125:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_thread_spawn.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |       let handle = thread::spawn(move || {
[INFO] [stdout]     |                    ------------- ^------
[INFO] [stdout]     |                    |             |
[INFO] [stdout]     |  __________________|_____________within this `{closure@src/bin/coroutine_thread_spawn.rs:112:32: 112:39}`
[INFO] [stdout]     | |                  |
[INFO] [stdout]     | |                  required by a bound introduced by this call
[INFO] [stdout] 113 | |         let result = f();
[INFO] [stdout] 114 | |         ev.to_wake.send(current_thread).unwrap();
[INFO] [stdout] 115 | |         result
[INFO] [stdout] 116 | |     });
[INFO] [stdout]     | |_____^ `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_thread_spawn.rs:112:32: 112:39}`, the trait `Send` is not implemented for `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`
[INFO] [stdout] note: required because it appears within the type `WeakLua`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/state.rs:61:12
[INFO] [stdout]     |
[INFO] [stdout]  61 | pub struct WeakLua(XWeak<ReentrantMutex<RawLua>>);
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub struct ValueRef {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_thread_spawn.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let handle = thread::spawn(move || {
[INFO] [stdout]     |                                ^^^^^^^
[INFO] [stdout] note: required by a bound in `spawn`
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/thread/functions.rs:125:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_thread_spawn.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |       let handle = thread::spawn(move || {
[INFO] [stdout]     |                    ------------- ^------
[INFO] [stdout]     |                    |             |
[INFO] [stdout]     |  __________________|_____________within this `{closure@src/bin/coroutine_thread_spawn.rs:112:32: 112:39}`
[INFO] [stdout]     | |                  |
[INFO] [stdout]     | |                  required by a bound introduced by this call
[INFO] [stdout] 113 | |         let result = f();
[INFO] [stdout] 114 | |         ev.to_wake.send(current_thread).unwrap();
[INFO] [stdout] 115 | |         result
[INFO] [stdout] 116 | |     });
[INFO] [stdout]     | |_____^ `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_thread_spawn.rs:112:32: 112:39}`, the trait `Send` is not implemented for `Rc<i32>`
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRefIndex`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:20:19
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub(crate) struct ValueRefIndex(pub(crate) XRc<c_int>);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Option<mlua::types::value_ref::ValueRefIndex>`
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/option.rs:597:9
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub struct ValueRef {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_thread_spawn.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let handle = thread::spawn(move || {
[INFO] [stdout]     |                                ^^^^^^^
[INFO] [stdout] note: required by a bound in `spawn`
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/thread/functions.rs:125:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `*mut lua_State` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_thread_spawn.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |       let handle = thread::spawn(move || {
[INFO] [stdout]     |                    ------------- ^------
[INFO] [stdout]     |                    |             |
[INFO] [stdout]     |  __________________|_____________within this `{closure@src/bin/coroutine_thread_spawn.rs:112:32: 112:39}`
[INFO] [stdout]     | |                  |
[INFO] [stdout]     | |                  required by a bound introduced by this call
[INFO] [stdout] 113 | |         let result = f();
[INFO] [stdout] 114 | |         ev.to_wake.send(current_thread).unwrap();
[INFO] [stdout] 115 | |         result
[INFO] [stdout] 116 | |     });
[INFO] [stdout]     | |_____^ `*mut lua_State` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_thread_spawn.rs:112:32: 112:39}`, the trait `Send` is not implemented for `*mut lua_State`
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_thread_spawn.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let handle = thread::spawn(move || {
[INFO] [stdout]     |                                ^^^^^^^
[INFO] [stdout] note: required by a bound in `spawn`
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/thread/functions.rs:125:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_thread_spawn.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |       let handle = thread::spawn(move || {
[INFO] [stdout]     |                    ------------- ^------
[INFO] [stdout]     |                    |             |
[INFO] [stdout]     |  __________________|_____________within this `{closure@src/bin/coroutine_thread_spawn.rs:112:32: 112:39}`
[INFO] [stdout]     | |                  |
[INFO] [stdout]     | |                  required by a bound introduced by this call
[INFO] [stdout] 113 | |         let result = f();
[INFO] [stdout] 114 | |         ev.to_wake.send(current_thread).unwrap();
[INFO] [stdout] 115 | |         result
[INFO] [stdout] 116 | |     });
[INFO] [stdout]     | |_____^ `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_thread_spawn.rs:112:32: 112:39}`, the trait `Send` is not implemented for `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`
[INFO] [stdout] note: required because it appears within the type `WeakLua`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/state.rs:61:12
[INFO] [stdout]     |
[INFO] [stdout]  61 | pub struct WeakLua(XWeak<ReentrantMutex<RawLua>>);
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub struct ValueRef {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_thread_spawn.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let handle = thread::spawn(move || {
[INFO] [stdout]     |                                ^^^^^^^
[INFO] [stdout] note: required by a bound in `spawn`
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/thread/functions.rs:125:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::anyhow`
[INFO] [stdout]   --> src/bin/coroutine_non_send.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use anyhow::anyhow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_thread_spawn.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |       let handle = thread::spawn(move || {
[INFO] [stdout]     |                    ------------- ^------
[INFO] [stdout]     |                    |             |
[INFO] [stdout]     |  __________________|_____________within this `{closure@src/bin/coroutine_thread_spawn.rs:112:32: 112:39}`
[INFO] [stdout]     | |                  |
[INFO] [stdout]     | |                  required by a bound introduced by this call
[INFO] [stdout] 113 | |         let result = f();
[INFO] [stdout] 114 | |         ev.to_wake.send(current_thread).unwrap();
[INFO] [stdout] 115 | |         result
[INFO] [stdout] 116 | |     });
[INFO] [stdout]     | |_____^ `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_thread_spawn.rs:112:32: 112:39}`, the trait `Send` is not implemented for `Rc<i32>`
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRefIndex`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:20:19
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub(crate) struct ValueRefIndex(pub(crate) XRc<c_int>);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Option<mlua::types::value_ref::ValueRefIndex>`
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/option.rs:597:9
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub struct ValueRef {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_thread_spawn.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let handle = thread::spawn(move || {
[INFO] [stdout]     |                                ^^^^^^^
[INFO] [stdout] note: required by a bound in `spawn`
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/thread/functions.rs:125:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]   --> src/bin/callback.rs:47:31
[INFO] [stdout]    |
[INFO] [stdout] 47 |                           .send(Box::new(move |_| {
[INFO] [stdout]    |                                 ^        -------- within this `{closure@src/bin/callback.rs:47:40: 47:48}`
[INFO] [stdout]    |  _______________________________|
[INFO] [stdout]    | |
[INFO] [stdout] 48 | |                             callback.call::<()>(s)?;
[INFO] [stdout] 49 | |                             Ok(())
[INFO] [stdout] 50 | |                         }))
[INFO] [stdout]    | |__________________________^ `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `{closure@src/bin/callback.rs:47:40: 47:48}`, the trait `Send` is not implemented for `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`
[INFO] [stdout] note: required because it appears within the type `WeakLua`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/state.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct WeakLua(XWeak<ReentrantMutex<RawLua>>);
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct ValueRef {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaFunction`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/function.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Function(pub(crate) ValueRef);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]   --> src/bin/callback.rs:47:40
[INFO] [stdout]    |
[INFO] [stdout] 47 |                         .send(Box::new(move |_| {
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout]    = note: required for the cast from `Box<{closure@src/bin/callback.rs:47:40: 47:48}>` to `Box<(dyn for<'a> FnOnce(&'a Lua) -> Result<(), LuaError> + Send + 'static)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]   --> src/bin/callback.rs:47:31
[INFO] [stdout]    |
[INFO] [stdout] 47 |                           .send(Box::new(move |_| {
[INFO] [stdout]    |                                 ^        -------- within this `{closure@src/bin/callback.rs:47:40: 47:48}`
[INFO] [stdout]    |  _______________________________|
[INFO] [stdout]    | |
[INFO] [stdout] 48 | |                             callback.call::<()>(s)?;
[INFO] [stdout] 49 | |                             Ok(())
[INFO] [stdout] 50 | |                         }))
[INFO] [stdout]    | |__________________________^ `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `{closure@src/bin/callback.rs:47:40: 47:48}`, the trait `Send` is not implemented for `Rc<i32>`
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRefIndex`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub(crate) struct ValueRefIndex(pub(crate) XRc<c_int>);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Option<mlua::types::value_ref::ValueRefIndex>`
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/option.rs:597:9
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct ValueRef {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaFunction`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/function.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Function(pub(crate) ValueRef);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]   --> src/bin/callback.rs:47:40
[INFO] [stdout]    |
[INFO] [stdout] 47 |                         .send(Box::new(move |_| {
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout]    = note: required for the cast from `Box<{closure@src/bin/callback.rs:47:40: 47:48}>` to `Box<(dyn for<'a> FnOnce(&'a Lua) -> Result<(), LuaError> + Send + 'static)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `*mut lua_State` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:408:28
[INFO] [stdout]     |
[INFO] [stdout] 408 |       ev.thread_pool.execute(move || {
[INFO] [stdout]     |                      ------- ^------
[INFO] [stdout]     |                      |       |
[INFO] [stdout]     |  ____________________|_______within this `{closure@src/bin/coroutine_threadpool.rs:408:28: 408:35}`
[INFO] [stdout]     | |                    |
[INFO] [stdout]     | |                    required by a bound introduced by this call
[INFO] [stdout] 409 | |         let result = f();
[INFO] [stdout] 410 | |         tx.send(result).unwrap();
[INFO] [stdout] 411 | |         ev.to_wake.send(current_thread).unwrap();
[INFO] [stdout] 412 | |     });
[INFO] [stdout]     | |_____^ `*mut lua_State` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_threadpool.rs:408:28: 408:35}`, the trait `Send` is not implemented for `*mut lua_State`
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:408:28
[INFO] [stdout]     |
[INFO] [stdout] 408 |     ev.thread_pool.execute(move || {
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout] note: required by a bound in `ThreadPool::execute`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/threadpool-1.8.1/src/lib.rs:429:23
[INFO] [stdout]     |
[INFO] [stdout] 427 |     pub fn execute<F>(&self, job: F)
[INFO] [stdout]     |            ------- required by a bound in this associated function
[INFO] [stdout] 428 |     where
[INFO] [stdout] 429 |         F: FnOnce() + Send + 'static,
[INFO] [stdout]     |                       ^^^^ required by this bound in `ThreadPool::execute`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:408:28
[INFO] [stdout]     |
[INFO] [stdout] 408 |       ev.thread_pool.execute(move || {
[INFO] [stdout]     |                      ------- ^------
[INFO] [stdout]     |                      |       |
[INFO] [stdout]     |  ____________________|_______within this `{closure@src/bin/coroutine_threadpool.rs:408:28: 408:35}`
[INFO] [stdout]     | |                    |
[INFO] [stdout]     | |                    required by a bound introduced by this call
[INFO] [stdout] 409 | |         let result = f();
[INFO] [stdout] 410 | |         tx.send(result).unwrap();
[INFO] [stdout] 411 | |         ev.to_wake.send(current_thread).unwrap();
[INFO] [stdout] 412 | |     });
[INFO] [stdout]     | |_____^ `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_threadpool.rs:408:28: 408:35}`, the trait `Send` is not implemented for `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`
[INFO] [stdout] note: required because it appears within the type `WeakLua`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/state.rs:61:12
[INFO] [stdout]     |
[INFO] [stdout]  61 | pub struct WeakLua(XWeak<ReentrantMutex<RawLua>>);
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub struct ValueRef {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:408:28
[INFO] [stdout]     |
[INFO] [stdout] 408 |     ev.thread_pool.execute(move || {
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout] note: required by a bound in `ThreadPool::execute`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/threadpool-1.8.1/src/lib.rs:429:23
[INFO] [stdout]     |
[INFO] [stdout] 427 |     pub fn execute<F>(&self, job: F)
[INFO] [stdout]     |            ------- required by a bound in this associated function
[INFO] [stdout] 428 |     where
[INFO] [stdout] 429 |         F: FnOnce() + Send + 'static,
[INFO] [stdout]     |                       ^^^^ required by this bound in `ThreadPool::execute`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mlua_async_io_demo` (bin "coroutine_thread_spawn" test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:408:28
[INFO] [stdout]     |
[INFO] [stdout] 408 |       ev.thread_pool.execute(move || {
[INFO] [stdout]     |                      ------- ^------
[INFO] [stdout]     |                      |       |
[INFO] [stdout]     |  ____________________|_______within this `{closure@src/bin/coroutine_threadpool.rs:408:28: 408:35}`
[INFO] [stdout]     | |                    |
[INFO] [stdout]     | |                    required by a bound introduced by this call
[INFO] [stdout] 409 | |         let result = f();
[INFO] [stdout] 410 | |         tx.send(result).unwrap();
[INFO] [stdout] 411 | |         ev.to_wake.send(current_thread).unwrap();
[INFO] [stdout] 412 | |     });
[INFO] [stdout]     | |_____^ `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_threadpool.rs:408:28: 408:35}`, the trait `Send` is not implemented for `Rc<i32>`
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRefIndex`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:20:19
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub(crate) struct ValueRefIndex(pub(crate) XRc<c_int>);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Option<mlua::types::value_ref::ValueRefIndex>`
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/option.rs:597:9
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub struct ValueRef {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:408:28
[INFO] [stdout]     |
[INFO] [stdout] 408 |     ev.thread_pool.execute(move || {
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout] note: required by a bound in `ThreadPool::execute`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/threadpool-1.8.1/src/lib.rs:429:23
[INFO] [stdout]     |
[INFO] [stdout] 427 |     pub fn execute<F>(&self, job: F)
[INFO] [stdout]     |            ------- required by a bound in this associated function
[INFO] [stdout] 428 |     where
[INFO] [stdout] 429 |         F: FnOnce() + Send + 'static,
[INFO] [stdout]     |                       ^^^^ required by this bound in `ThreadPool::execute`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::anyhow`
[INFO] [stdout]   --> src/bin/coroutine_non_send.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use anyhow::anyhow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mlua_async_io_demo` (bin "callback") due to 2 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mlua_async_io_demo` (bin "coroutine_thread_spawn") due to 3 previous errors
[INFO] [stdout] error[E0277]: `*mut lua_State` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:463:13
[INFO] [stdout]     |
[INFO] [stdout] 456 |           ev.timers.lock().unwrap().add_repeating_timer(
[INFO] [stdout]     |                                     ------------------- required by a bound introduced by this call
[INFO] [stdout] ...
[INFO] [stdout] 463 |               move || {
[INFO] [stdout]     |               ^------
[INFO] [stdout]     |               |
[INFO] [stdout]     |  _____________within this `{closure@src/bin/coroutine_threadpool.rs:463:13: 463:20}`
[INFO] [stdout]     | |
[INFO] [stdout] 464 | |                 to_wake.send(current_thread).unwrap();
[INFO] [stdout] 465 | |                 let _ = tx.send(());
[INFO] [stdout] 466 | |             },
[INFO] [stdout]     | |_____________^ `*mut lua_State` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_threadpool.rs:463:13: 463:20}`, the trait `Send` is not implemented for `*mut lua_State`
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:463:13
[INFO] [stdout]     |
[INFO] [stdout] 463 |             move || {
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] note: required by a bound in `TimerManager::add_repeating_timer`
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:115:37
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn add_repeating_timer(
[INFO] [stdout]     |        ------------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 115 |         notify_end: impl FnOnce() + Send + 'static,
[INFO] [stdout]     |                                     ^^^^ required by this bound in `TimerManager::add_repeating_timer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:463:13
[INFO] [stdout]     |
[INFO] [stdout] 456 |           ev.timers.lock().unwrap().add_repeating_timer(
[INFO] [stdout]     |                                     ------------------- required by a bound introduced by this call
[INFO] [stdout] ...
[INFO] [stdout] 463 |               move || {
[INFO] [stdout]     |               ^------
[INFO] [stdout]     |               |
[INFO] [stdout]     |  _____________within this `{closure@src/bin/coroutine_threadpool.rs:463:13: 463:20}`
[INFO] [stdout]     | |
[INFO] [stdout] 464 | |                 to_wake.send(current_thread).unwrap();
[INFO] [stdout] 465 | |                 let _ = tx.send(());
[INFO] [stdout] 466 | |             },
[INFO] [stdout]     | |_____________^ `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_threadpool.rs:463:13: 463:20}`, the trait `Send` is not implemented for `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`
[INFO] [stdout] note: required because it appears within the type `WeakLua`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/state.rs:61:12
[INFO] [stdout]     |
[INFO] [stdout]  61 | pub struct WeakLua(XWeak<ReentrantMutex<RawLua>>);
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub struct ValueRef {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:463:13
[INFO] [stdout]     |
[INFO] [stdout] 463 |             move || {
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] note: required by a bound in `TimerManager::add_repeating_timer`
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:115:37
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn add_repeating_timer(
[INFO] [stdout]     |        ------------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 115 |         notify_end: impl FnOnce() + Send + 'static,
[INFO] [stdout]     |                                     ^^^^ required by this bound in `TimerManager::add_repeating_timer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]   --> src/bin/callback.rs:47:31
[INFO] [stdout]    |
[INFO] [stdout] 47 |                           .send(Box::new(move |_| {
[INFO] [stdout]    |                                 ^        -------- within this `{closure@src/bin/callback.rs:47:40: 47:48}`
[INFO] [stdout]    |  _______________________________|
[INFO] [stdout]    | |
[INFO] [stdout] 48 | |                             callback.call::<()>(s)?;
[INFO] [stdout] 49 | |                             Ok(())
[INFO] [stdout] 50 | |                         }))
[INFO] [stdout]    | |__________________________^ `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `{closure@src/bin/callback.rs:47:40: 47:48}`, the trait `Send` is not implemented for `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`
[INFO] [stdout] note: required because it appears within the type `WeakLua`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/state.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct WeakLua(XWeak<ReentrantMutex<RawLua>>);
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct ValueRef {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaFunction`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/function.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Function(pub(crate) ValueRef);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]   --> src/bin/callback.rs:47:40
[INFO] [stdout]    |
[INFO] [stdout] 47 |                         .send(Box::new(move |_| {
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout]    = note: required for the cast from `Box<{closure@src/bin/callback.rs:47:40: 47:48}>` to `Box<(dyn for<'a> FnOnce(&'a Lua) -> Result<(), LuaError> + Send + 'static)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]   --> src/bin/callback.rs:47:31
[INFO] [stdout]    |
[INFO] [stdout] 47 |                           .send(Box::new(move |_| {
[INFO] [stdout]    |                                 ^        -------- within this `{closure@src/bin/callback.rs:47:40: 47:48}`
[INFO] [stdout]    |  _______________________________|
[INFO] [stdout]    | |
[INFO] [stdout] 48 | |                             callback.call::<()>(s)?;
[INFO] [stdout] 49 | |                             Ok(())
[INFO] [stdout] 50 | |                         }))
[INFO] [stdout]    | |__________________________^ `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `{closure@src/bin/callback.rs:47:40: 47:48}`, the trait `Send` is not implemented for `Rc<i32>`
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRefIndex`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub(crate) struct ValueRefIndex(pub(crate) XRc<c_int>);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Option<mlua::types::value_ref::ValueRefIndex>`
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/option.rs:597:9
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct ValueRef {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaFunction`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/function.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Function(pub(crate) ValueRef);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]   --> src/bin/callback.rs:47:40
[INFO] [stdout]    |
[INFO] [stdout] 47 |                         .send(Box::new(move |_| {
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout]    = note: required for the cast from `Box<{closure@src/bin/callback.rs:47:40: 47:48}>` to `Box<(dyn for<'a> FnOnce(&'a Lua) -> Result<(), LuaError> + Send + 'static)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:463:13
[INFO] [stdout]     |
[INFO] [stdout] 456 |           ev.timers.lock().unwrap().add_repeating_timer(
[INFO] [stdout]     |                                     ------------------- required by a bound introduced by this call
[INFO] [stdout] ...
[INFO] [stdout] 463 |               move || {
[INFO] [stdout]     |               ^------
[INFO] [stdout]     |               |
[INFO] [stdout]     |  _____________within this `{closure@src/bin/coroutine_threadpool.rs:463:13: 463:20}`
[INFO] [stdout]     | |
[INFO] [stdout] 464 | |                 to_wake.send(current_thread).unwrap();
[INFO] [stdout] 465 | |                 let _ = tx.send(());
[INFO] [stdout] 466 | |             },
[INFO] [stdout]     | |_____________^ `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_threadpool.rs:463:13: 463:20}`, the trait `Send` is not implemented for `Rc<i32>`
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRefIndex`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:20:19
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub(crate) struct ValueRefIndex(pub(crate) XRc<c_int>);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Option<mlua::types::value_ref::ValueRefIndex>`
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/option.rs:597:9
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub struct ValueRef {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:463:13
[INFO] [stdout]     |
[INFO] [stdout] 463 |             move || {
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] note: required by a bound in `TimerManager::add_repeating_timer`
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:115:37
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn add_repeating_timer(
[INFO] [stdout]     |        ------------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 115 |         notify_end: impl FnOnce() + Send + 'static,
[INFO] [stdout]     |                                     ^^^^ required by this bound in `TimerManager::add_repeating_timer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mlua_async_io_demo` (bin "callback" test) due to 2 previous errors
[INFO] [stdout] error[E0277]: `*mut lua_State` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:408:28
[INFO] [stdout]     |
[INFO] [stdout] 408 |       ev.thread_pool.execute(move || {
[INFO] [stdout]     |                      ------- ^------
[INFO] [stdout]     |                      |       |
[INFO] [stdout]     |  ____________________|_______within this `{closure@src/bin/coroutine_threadpool.rs:408:28: 408:35}`
[INFO] [stdout]     | |                    |
[INFO] [stdout]     | |                    required by a bound introduced by this call
[INFO] [stdout] 409 | |         let result = f();
[INFO] [stdout] 410 | |         tx.send(result).unwrap();
[INFO] [stdout] 411 | |         ev.to_wake.send(current_thread).unwrap();
[INFO] [stdout] 412 | |     });
[INFO] [stdout]     | |_____^ `*mut lua_State` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_threadpool.rs:408:28: 408:35}`, the trait `Send` is not implemented for `*mut lua_State`
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:408:28
[INFO] [stdout]     |
[INFO] [stdout] 408 |     ev.thread_pool.execute(move || {
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout] note: required by a bound in `ThreadPool::execute`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/threadpool-1.8.1/src/lib.rs:429:23
[INFO] [stdout]     |
[INFO] [stdout] 427 |     pub fn execute<F>(&self, job: F)
[INFO] [stdout]     |            ------- required by a bound in this associated function
[INFO] [stdout] 428 |     where
[INFO] [stdout] 429 |         F: FnOnce() + Send + 'static,
[INFO] [stdout]     |                       ^^^^ required by this bound in `ThreadPool::execute`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:408:28
[INFO] [stdout]     |
[INFO] [stdout] 408 |       ev.thread_pool.execute(move || {
[INFO] [stdout]     |                      ------- ^------
[INFO] [stdout]     |                      |       |
[INFO] [stdout]     |  ____________________|_______within this `{closure@src/bin/coroutine_threadpool.rs:408:28: 408:35}`
[INFO] [stdout]     | |                    |
[INFO] [stdout]     | |                    required by a bound introduced by this call
[INFO] [stdout] 409 | |         let result = f();
[INFO] [stdout] 410 | |         tx.send(result).unwrap();
[INFO] [stdout] 411 | |         ev.to_wake.send(current_thread).unwrap();
[INFO] [stdout] 412 | |     });
[INFO] [stdout]     | |_____^ `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_threadpool.rs:408:28: 408:35}`, the trait `Send` is not implemented for `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`
[INFO] [stdout] note: required because it appears within the type `WeakLua`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/state.rs:61:12
[INFO] [stdout]     |
[INFO] [stdout]  61 | pub struct WeakLua(XWeak<ReentrantMutex<RawLua>>);
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub struct ValueRef {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:408:28
[INFO] [stdout]     |
[INFO] [stdout] 408 |     ev.thread_pool.execute(move || {
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout] note: required by a bound in `ThreadPool::execute`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/threadpool-1.8.1/src/lib.rs:429:23
[INFO] [stdout]     |
[INFO] [stdout] 427 |     pub fn execute<F>(&self, job: F)
[INFO] [stdout]     |            ------- required by a bound in this associated function
[INFO] [stdout] 428 |     where
[INFO] [stdout] 429 |         F: FnOnce() + Send + 'static,
[INFO] [stdout]     |                       ^^^^ required by this bound in `ThreadPool::execute`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:408:28
[INFO] [stdout]     |
[INFO] [stdout] 408 |       ev.thread_pool.execute(move || {
[INFO] [stdout]     |                      ------- ^------
[INFO] [stdout]     |                      |       |
[INFO] [stdout]     |  ____________________|_______within this `{closure@src/bin/coroutine_threadpool.rs:408:28: 408:35}`
[INFO] [stdout]     | |                    |
[INFO] [stdout]     | |                    required by a bound introduced by this call
[INFO] [stdout] 409 | |         let result = f();
[INFO] [stdout] 410 | |         tx.send(result).unwrap();
[INFO] [stdout] 411 | |         ev.to_wake.send(current_thread).unwrap();
[INFO] [stdout] 412 | |     });
[INFO] [stdout]     | |_____^ `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_threadpool.rs:408:28: 408:35}`, the trait `Send` is not implemented for `Rc<i32>`
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRefIndex`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:20:19
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub(crate) struct ValueRefIndex(pub(crate) XRc<c_int>);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Option<mlua::types::value_ref::ValueRefIndex>`
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/option.rs:597:9
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub struct ValueRef {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:408:28
[INFO] [stdout]     |
[INFO] [stdout] 408 |     ev.thread_pool.execute(move || {
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout] note: required by a bound in `ThreadPool::execute`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/threadpool-1.8.1/src/lib.rs:429:23
[INFO] [stdout]     |
[INFO] [stdout] 427 |     pub fn execute<F>(&self, job: F)
[INFO] [stdout]     |            ------- required by a bound in this associated function
[INFO] [stdout] 428 |     where
[INFO] [stdout] 429 |         F: FnOnce() + Send + 'static,
[INFO] [stdout]     |                       ^^^^ required by this bound in `ThreadPool::execute`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `*mut lua_State` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:463:13
[INFO] [stdout]     |
[INFO] [stdout] 456 |           ev.timers.lock().unwrap().add_repeating_timer(
[INFO] [stdout]     |                                     ------------------- required by a bound introduced by this call
[INFO] [stdout] ...
[INFO] [stdout] 463 |               move || {
[INFO] [stdout]     |               ^------
[INFO] [stdout]     |               |
[INFO] [stdout]     |  _____________within this `{closure@src/bin/coroutine_threadpool.rs:463:13: 463:20}`
[INFO] [stdout]     | |
[INFO] [stdout] 464 | |                 to_wake.send(current_thread).unwrap();
[INFO] [stdout] 465 | |                 let _ = tx.send(());
[INFO] [stdout] 466 | |             },
[INFO] [stdout]     | |_____________^ `*mut lua_State` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_threadpool.rs:463:13: 463:20}`, the trait `Send` is not implemented for `*mut lua_State`
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:463:13
[INFO] [stdout]     |
[INFO] [stdout] 463 |             move || {
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] note: required by a bound in `TimerManager::add_repeating_timer`
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:115:37
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn add_repeating_timer(
[INFO] [stdout]     |        ------------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 115 |         notify_end: impl FnOnce() + Send + 'static,
[INFO] [stdout]     |                                     ^^^^ required by this bound in `TimerManager::add_repeating_timer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:463:13
[INFO] [stdout]     |
[INFO] [stdout] 456 |           ev.timers.lock().unwrap().add_repeating_timer(
[INFO] [stdout]     |                                     ------------------- required by a bound introduced by this call
[INFO] [stdout] ...
[INFO] [stdout] 463 |               move || {
[INFO] [stdout]     |               ^------
[INFO] [stdout]     |               |
[INFO] [stdout]     |  _____________within this `{closure@src/bin/coroutine_threadpool.rs:463:13: 463:20}`
[INFO] [stdout]     | |
[INFO] [stdout] 464 | |                 to_wake.send(current_thread).unwrap();
[INFO] [stdout] 465 | |                 let _ = tx.send(());
[INFO] [stdout] 466 | |             },
[INFO] [stdout]     | |_____________^ `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_threadpool.rs:463:13: 463:20}`, the trait `Send` is not implemented for `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`
[INFO] [stdout] note: required because it appears within the type `WeakLua`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/state.rs:61:12
[INFO] [stdout]     |
[INFO] [stdout]  61 | pub struct WeakLua(XWeak<ReentrantMutex<RawLua>>);
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub struct ValueRef {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:463:13
[INFO] [stdout]     |
[INFO] [stdout] 463 |             move || {
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] note: required by a bound in `TimerManager::add_repeating_timer`
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:115:37
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn add_repeating_timer(
[INFO] [stdout]     |        ------------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 115 |         notify_end: impl FnOnce() + Send + 'static,
[INFO] [stdout]     |                                     ^^^^ required by this bound in `TimerManager::add_repeating_timer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:463:13
[INFO] [stdout]     |
[INFO] [stdout] 456 |           ev.timers.lock().unwrap().add_repeating_timer(
[INFO] [stdout]     |                                     ------------------- required by a bound introduced by this call
[INFO] [stdout] ...
[INFO] [stdout] 463 |               move || {
[INFO] [stdout]     |               ^------
[INFO] [stdout]     |               |
[INFO] [stdout]     |  _____________within this `{closure@src/bin/coroutine_threadpool.rs:463:13: 463:20}`
[INFO] [stdout]     | |
[INFO] [stdout] 464 | |                 to_wake.send(current_thread).unwrap();
[INFO] [stdout] 465 | |                 let _ = tx.send(());
[INFO] [stdout] 466 | |             },
[INFO] [stdout]     | |_____________^ `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `{closure@src/bin/coroutine_threadpool.rs:463:13: 463:20}`, the trait `Send` is not implemented for `Rc<i32>`
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRefIndex`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:20:19
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub(crate) struct ValueRefIndex(pub(crate) XRc<c_int>);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Option<mlua::types::value_ref::ValueRefIndex>`
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/option.rs:597:9
[INFO] [stdout] note: required because it appears within the type `mlua::types::value_ref::ValueRef`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/types/value_ref.rs:9:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub struct ValueRef {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `LuaThread`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mlua-0.11.6/src/thread.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Thread(pub(crate) ValueRef, pub(crate) *mut ffi::lua_State);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:463:13
[INFO] [stdout]     |
[INFO] [stdout] 463 |             move || {
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] note: required by a bound in `TimerManager::add_repeating_timer`
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:115:37
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn add_repeating_timer(
[INFO] [stdout]     |        ------------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 115 |         notify_end: impl FnOnce() + Send + 'static,
[INFO] [stdout]     |                                     ^^^^ required by this bound in `TimerManager::add_repeating_timer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:385:35
[INFO] [stdout]     |
[INFO] [stdout] 385 |         ev.timers.lock().unwrap().poll_timers();
[INFO] [stdout]     |                                   ^^^^^^^^^^^-- argument #1 is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn poll_timers(&mut self, mut f: impl FnMut(LuaRunnable)) {
[INFO] [stdout]     |        ^^^^^^^^^^^            ------------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 385 |         ev.timers.lock().unwrap().poll_timers(/* f */);
[INFO] [stdout]     |                                               +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:385:35
[INFO] [stdout]     |
[INFO] [stdout] 385 |         ev.timers.lock().unwrap().poll_timers();
[INFO] [stdout]     |                                   ^^^^^^^^^^^-- argument #1 is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/bin/coroutine_threadpool.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn poll_timers(&mut self, mut f: impl FnMut(LuaRunnable)) {
[INFO] [stdout]     |        ^^^^^^^^^^^            ------------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 385 |         ev.timers.lock().unwrap().poll_timers(/* f */);
[INFO] [stdout]     |                                               +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/bin/coroutine_non_send.rs:292:14
[INFO] [stdout]     |
[INFO] [stdout] 292 | struct Async(EventLoop);
[INFO] [stdout]     |        ----- ^^^^^^^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mlua_async_io_demo` (bin "coroutine_threadpool") due to 7 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mlua_async_io_demo` (bin "coroutine_threadpool" test) due to 7 previous errors
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/bin/coroutine_non_send.rs:292:14
[INFO] [stdout]     |
[INFO] [stdout] 292 | struct Async(EventLoop);
[INFO] [stdout]     |        ----- ^^^^^^^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e246f34c11a82a9d387daf84bd87467da3424cc06f15cd95116b49d867048898", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e246f34c11a82a9d387daf84bd87467da3424cc06f15cd95116b49d867048898", kill_on_drop: false }`
[INFO] [stdout] e246f34c11a82a9d387daf84bd87467da3424cc06f15cd95116b49d867048898
